<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

$db['goods_tip']=array ( 
  'columns' =>
  array (
    'tip_id' =>
    array (
      'type' => 'number',
      'required' => true,
      'pkey' => true,
      'extra' => 'auto_increment',
      'label' => app::get('b2c')->_('提示ID'),
      'width' => 110,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => false,
	  'order' => 10,
    ),
    'tip_name' =>
    array (
      'type' => 'varchar(100)',
      'required' => true,
      'is_title' => true,
      'default' => ' ',
      'label' => app::get('b2c')->_('名称'),
      'width' => 180,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
	  'order' => 20,
    ),
    'tip_text' =>
    array (
      'type' => 'text',
      'editable' => false,
      'label' => app::get('b2c')->_('购物提示'),
	  'width' => 380,
      'in_list' => true,
      'default_in_list' => true,
	  'order' => 30,
    ),
    'dt_ids' =>
    array (
      'type' => 'varchar(255)',
      'default' => '',
      'label' => app::get('b2c')->_('配送方式'),
      'width' => 200,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
	  'order' => 40,
    ),
    'payment_app_ids' =>
    array (
      'type' => 'varchar(255)',
      'default' => '',
      'label' => app::get('b2c')->_('支付方式'),
      'width' => 250,
      'editable' => false,
      'in_list' => true,
      'default_in_list' => true,
	  'order' => 50,
    ),
    'need_idcard' =>
    array (
      'type' => 'bool',
      'default' => 'false',
      'label' => app::get('b2c')->_('需身份证'),
      'width' => 60,
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
    ),
    'amount_max' =>
    array (
      'type' => 'number',
	  'default' => 0,
      'label' => app::get('b2c')->_('订单限额'),
      'width' => 150,
      'comment' => app::get('b2c')->_('订单限额，0表示不限制'),
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
	  'order' => 70,
    ),
    'ordernum' =>
    array (
      'type' => 'number',
	  'default' => 50,
      'label' => app::get('b2c')->_('排序'),
      'width' => 110,
      'comment' => app::get('b2c')->_('排序'),
      'editable' => true,
      'in_list' => true,
      'default_in_list' => true,
	  'order' => 80,
	  'orderby'=>true,
    ),	
  ),
  'version' => '$Rev: 1211122 $',
  'comment' => app::get('b2c')->_('购物提示表'),
);
